﻿using System;

namespace VIALUTIONS.InfoPath.FormsHub
{
    /// <summary>
    /// The InfoPathForm class is serializable
    /// for storing in the WebPart properties and
    /// contains the name of a InfoPath form 
    /// configuration, the source template the
    /// InfoPath form bases on and an optional parameter
    /// for the save location where the form should be stored.
    /// </summary>
    [Serializable]
    public class InfoPathForm
    {
        /// <summary>
        /// Gets or sets the name of 
        /// the InfoPath form configuration
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// Gets or sets the source template
        /// on which the form is based on
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// Gets or sets the target place
        /// where the form should be saved to
        /// </summary>
        public string Target { get; set; }
    }
}
